<div>
	<p class="<%= description_class if defined? description_class %>"><b><%= label %></b></p>
	<table style="margin-bottom: 40px" class="basic-table fluid gray-line <%= table_class if defined? table_class %>">
		<thead>
			<tr>
				<th class="header-left left top-left-rounded-8"><%= t :title %></th>
				<th class="width-150"><%= t :progress %></th>
				<th class="header-right top-right-rounded-8 width-150"><%= t :due %></th>
			</tr>
		</thead>
		<tbody>
		<% milestones.each do |milestone| %>
			<tr class="<%= cycle("even", "odd") %>">
				<td class="left"><%= link_to milestone.title, project_milestone_path(milestone.project, milestone) %></td>
				<% begin %>
				<td><%= milestone.completed %>/<%= milestone.activities_quantity %></td>
				<% rescue %>
				<% end %>
				<td><%= l milestone.due, :format => :long %></td>
			</tr>
		<% end %>
		</tbody>
	</table>
</div>